Documentation > CMS Template API Library > UserVariables > Item[String]

Item[String]

Get the value of an argument with the given name.

Type

System.String

Return Type

System.String

Returns

The value of the argument.

Parameters

NameDescriptionType
argName The value of the argument. System.String

Code Example

C#

Sample:
Out.WriteLine("Sort Order:{0}", context.UserVariables["sortOrder"]);

Connect with Crownpeak